package com.appjishu.web.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel("排名结果")
public class Ranking {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "照片地址")
    private String avatar;
    @ApiModelProperty(value = "用户名")
    private String name;
    @ApiModelProperty(value = "分值")
    private Integer score;
    @ApiModelProperty(value = "排名")
    private Integer ranking;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getRanking() {
        return ranking;
    }

    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
